package com.example.apiproject.dao;

import com.example.apiproject.entity.FeedBack;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FeedBackDao {
    int insert(FeedBack feedBack);

    int update(FeedBack feedBack);

    List<FeedBack> getByUserId(int userId);

    int delete(Integer id);

    List<FeedBack> queryByStatus(Integer status);

    List<FeedBack> queryAll();
}
